package com.pj.xfxh.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pj.xfxh.domain.RoleContent;
import com.pj.xfxh.project.entity.Topic;
import com.pj.xfxh.project.entity.TopicMessage;

import java.util.List;

public interface TopicMessageService extends IService<TopicMessage> {

    List<RoleContent> getMessagesByUserId(Long userId,Long topicId,Long platformId);

    List<TopicMessage> saveMessages(Long userId, Long topicId, Long platformId, List<RoleContent> roleContents);

}
